$(function() {

    //获取当天日期
    (function() {
        const now = new Date();
        const year = now.getFullYear();
        const month = now.getMonth()+1;
        const day = now.getDate();
        $("#nowDate").html(year+"年"+month+"月"+day+"日");
    })();

});